<template>
    <a :href="'#' + props.to">
        <slot></slot>
    </a>
</template>
<script setup lang="ts">
interface Props {
    to: string
}
const props = defineProps<Props>()
</script>